package com.jp.refreshlocalcacheclient.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2020/4/28 20:52
 */
@Target({ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RefreshLocalCache {

    /**
     * 查找方法的关键值，不能重复，需要跟观察值对应
     * @return
     */
    String value() default "";
}
